//
//  HRZParticularsShowViewController.m
//  EMarket
//
//  Created by 石头 on 2018/5/14.
//  Copyright © 2018年 好日子. All rights reserved.
//

#import "HRZParticularsShowViewController.h"

// Controllers

// Models

// Views

// Vendors
#import <WebKit/WebKit.h>

// Categories

// Others

@interface HRZParticularsShowViewController ()
@property (nonatomic, strong) WKWebView *webView;
@end

@implementation HRZParticularsShowViewController

#pragma mark - LazyLoad

- (WKWebView *)webView
{
    if (!_webView) {
        _webView = [[WKWebView alloc] initWithFrame:CGRectZero];
        _webView.frame = self.view.bounds;
        [self.view addSubview:_webView];
    }
    return _webView;
}


#pragma mark - LifeCyle
- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setUpBase];
    
    [self setUpGoodsParticularsWKWebView];
}

- (void)setUpBase
{
//    self.automaticallyAdjustsScrollViewInsets = NO;
    self.view.backgroundColor = [UIColor whiteColor];
    self.webView.backgroundColor = self.view.backgroundColor;
}

- (void)setUpGoodsParticularsWKWebView
{
//    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:_particularUrl?_particularUrl:CDDJianShu04]];
//    [self.webView loadRequest:request];
}

@end
